package com.magicalcoder.youyaboot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 软件作者：何栋宇 qq:709876443
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:648595928
*/
@Data
public class Car implements Serializable{

    private Integer id;//id
    private Integer clientId;//客户id
    private String companyName;//公司名称
    private String licensePlateNumber;//车牌号
    private Integer bus;//公车是否
    private String factoryPlateModel;//厂牌型号
    private String vehicleType;//车辆类型
    private String function;//使用性质
    private Integer purchasePriceOfNewCar;//新车购置价
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp purchaseTimeOfNewCar;//新车购置时间
    private String engineNumber;//发动机号
    private String producingArea;//产地
    private String vin;//车架号
    private String tonnage;//吨位
    private Integer seat;//座位
    private String gps;//GPS
    private String driverLicense;//行驶证车主
    private String vehicleColor;//车辆颜色
    private String designatedOfficer;//指定驾驶员
    private String drivingArea;//行驶区域
    private String createby;//创建人
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;//创建时间
    private String updateby;//修改人
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;//修改时间
    private Integer delFlag;//是否删除

    
    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public Integer getClientId(){
        return clientId;
    }
    public void setClientId(Integer clientId){
        this.clientId = clientId;
    }

    public String getCompanyName(){
        return companyName;
    }
    public void setCompanyName(String companyName){
        this.companyName = companyName;
    }

    public String getLicensePlateNumber(){
        return licensePlateNumber;
    }
    public void setLicensePlateNumber(String licensePlateNumber){
        this.licensePlateNumber = licensePlateNumber;
    }

    public Integer getBus(){
        return bus;
    }
    public void setBus(Integer bus){
        this.bus = bus;
    }

    public String getFactoryPlateModel(){
        return factoryPlateModel;
    }
    public void setFactoryPlateModel(String factoryPlateModel){
        this.factoryPlateModel = factoryPlateModel;
    }

    public String getVehicleType(){
        return vehicleType;
    }
    public void setVehicleType(String vehicleType){
        this.vehicleType = vehicleType;
    }

    public String getFunction(){
        return function;
    }
    public void setFunction(String function){
        this.function = function;
    }

    public Integer getPurchasePriceOfNewCar(){
        return purchasePriceOfNewCar;
    }
    public void setPurchasePriceOfNewCar(Integer purchasePriceOfNewCar){
        this.purchasePriceOfNewCar = purchasePriceOfNewCar;
    }

    public Timestamp getPurchaseTimeOfNewCar(){
        return purchaseTimeOfNewCar;
    }
    public void setPurchaseTimeOfNewCar(Timestamp purchaseTimeOfNewCar){
        this.purchaseTimeOfNewCar = purchaseTimeOfNewCar;
    }

    public String getEngineNumber(){
        return engineNumber;
    }
    public void setEngineNumber(String engineNumber){
        this.engineNumber = engineNumber;
    }

    public String getProducingArea(){
        return producingArea;
    }
    public void setProducingArea(String producingArea){
        this.producingArea = producingArea;
    }

    public String getVin(){
        return vin;
    }
    public void setVin(String vin){
        this.vin = vin;
    }

    public String getTonnage(){
        return tonnage;
    }
    public void setTonnage(String tonnage){
        this.tonnage = tonnage;
    }

    public Integer getSeat(){
        return seat;
    }
    public void setSeat(Integer seat){
        this.seat = seat;
    }

    public String getGps(){
        return gps;
    }
    public void setGps(String gps){
        this.gps = gps;
    }

    public String getDriverLicense(){
        return driverLicense;
    }
    public void setDriverLicense(String driverLicense){
        this.driverLicense = driverLicense;
    }

    public String getVehicleColor(){
        return vehicleColor;
    }
    public void setVehicleColor(String vehicleColor){
        this.vehicleColor = vehicleColor;
    }

    public String getDesignatedOfficer(){
        return designatedOfficer;
    }
    public void setDesignatedOfficer(String designatedOfficer){
        this.designatedOfficer = designatedOfficer;
    }

    public String getDrivingArea(){
        return drivingArea;
    }
    public void setDrivingArea(String drivingArea){
        this.drivingArea = drivingArea;
    }

    public String getCreateby(){
        return createby;
    }
    public void setCreateby(String createby){
        this.createby = createby;
    }

    public Timestamp getCreateTime(){
        return createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }

    public String getUpdateby(){
        return updateby;
    }
    public void setUpdateby(String updateby){
        this.updateby = updateby;
    }

    public Timestamp getUpdateTime(){
        return updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }

    public Integer getDelFlag(){
        return delFlag;
    }
    public void setDelFlag(Integer delFlag){
        this.delFlag = delFlag;
    }
}
